package com.yn.pet.controller.pc.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.hpsf.Decimal;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class DeviceInfoBizResponse {

    //设备ID

    private Long deviceId;


    //用户头像
    private String avatar;

    //宠物类型
    private Integer petType;

    //宠物类型字符串
    private String petTypeName;


    //设备IMEI号
    private String imei;

    //设备名称
    private String deviceName;

    //设备状态
    private Integer deviceStatus;

    //设备状态字符串
    private String deviceStatusName;

    //状态持续时间
    private String continueTime;

    //定位经度
    private Double longitude;

    //定位纬度
    private Double latitude;

    //定位位置
    private String detailedLocation;

    //设备模式
    private Integer deviceModel;

    //设备模式字符串
    private String deviceModeName;


    //今日里程
    private Double mileage;

    //速度
    private Integer speed;

    //定位类型
    private Integer locationType;

    //定位类型字符串
    private String locationTypeName;

    //卫星数量
    private Integer satelliteNum;

    //信号强度
    private Integer signalStrength;

    //电池电量
    private Integer battery;

    //海拔
    private Double altitude;

    //是否收藏
    private Integer isCollection;

    //通讯时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date receiveTime;

    //GPS定位时长
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gpsTime;


}
